import java.util.Scanner;

public class demo01 {
    //最难的问题
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            String line = sc.nextLine();
            StringBuilder sb = new StringBuilder();
            for(int i=0; i<line.length(); i++){
                char c = line.charAt(i);
                if(c == ' '){
                    sb.append(" ");
                }else{
                    sb.append((char)(c>'E'? c-5 : c+21));
                }
            }
            System.out.println(sb);
        }
    }
}

